{inc:header}
<div class="form-group">
	<a class="btn btn-default" href="?action=admin&ctrl=add">+添加</a>
</div>
</div>
<table class="table table-bordered">
	<tr>
		<th width="10%">ID</th>
		<th>用户名</th>
		<th width="40%">权限</th>
		<th width="10%">状态</th>
		<th>操作</th>
	</tr>
	<!-- $list AS $atl -->
	<tr>
		<td>{$atl['id']}</td>
		<td><a href="?action=admin&id={$atl['id']}&ctrl=edit">{$atl['name']}</a></td>
		<td>{run:}$authlist=array();$authlist=explode('|',$atl['auth']);{/run}
			
			{$cats[$authlist[1]]['name']}{$admins[$authlist[0]]} </td>
		<td>{run:}echo Base::catstatus($atl['status']);{/run}</td>
		<td>
			<a href="?action=admin&id={$atl['id']}&ctrl=edit">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="?action=admin&id={$atl['id']}&ctrl=del" onclick="return confirm('确认删除')">删除</a>
		</td>
	</tr>
	<!-- END -->
</table>
{inc:footer}